In [1]:
2 == 2
Out[1]:
In [2]:
2 == 1
Out[2]:
In [3]:
True == True
Out[3]:
In [4]:
'Hello' == 'hello'
Out[4]:
In [5]:
'Hello' == 'Hello'
Out[5]:
In [6]:
'two' == 2
Out[6]:
In [7]:
3 != 3
Out[7]:
In [8]:
4 != 5
Out[8]:
In [9]:
2 > 1
Out[9]:
In [10]:
2 < 5
Out[10]:
In [11]:
2 >= 2
Out[11]:
In [12]:
2 >= 1
Out[12]:
In [13]:
4 <= 5
Out[13]:
or and not
In [14]:
2 <= 3 and 3 <= 5
Out[14]:
In [15]:
(8 > 9) or (9 < 8)
Out[15]:
In [16]:
(8 > 9) or (9 < 10)
Out[16]:
In [18]:
(8 != 9) or (9 != 8)
Out[18]:
In [19]:
2 < 3 > 10
Out[19]:
In [20]:
2<=3>=1
Out[20]:
In [ ]: